FluentCrm\App\Models\Campaign C

Total Complexity 114
Dependencies 12
Dependents 11
Total lines 782
Lines of code 536
Logical lines of code 276
Comment lines 67
Methods 38
Properties 3

Methods 38

Method Rating Maintainability Complexity Lines of code
getSubscribeIdsByListModel()
B
41 18 57
getSubscribersModel()
A
43 11 48
subscribe()
A
43 8 50
boot()
A
45 7 44
syncSubjects()
S
52 6 26
stats()
S
46 5 38
guessEmailSubject()
S
57 5 16
maybeDeleteDuplicates()
S
51 4 28
getSubscriberIdsBySegmentSettings()
S
56 4 20
getEmailScheduleAt()
S
56 4 17
subscribeBySegment()
S
58 4 16
duplicateSubjects()
S
59 4 16
rangedScheduleDates()
S
59 3 14
getUtmParams()
S
62 2 12
getShareableUrl()
S
61 2 12
getSubscriberIdsCountBySegmentSettings()
S
69 2 7
getSubscribeIdsByList()
S
65 2 9
getHash()
S
63 2 10
getSubjectAttribute()
S
71 2 6
getSubQueryForLisTorTagFilter()
S
60 1 14
archive()
S
74 1 5
setSettingsAttribute()
S
78 1 3
getSettingsAttribute()
S
80 1 3
deleteCampaignData()
S
67 1 8
getRecipientsCountAttribute()
S
81 1 3
getEmailCount()
S
74 1 5
getRenderedBodyAttribute()
S
80 1 3
subjects()
S
78 1 3
filterDuplicateSubscribers()
S
66 1 8
campaign_emails()
S
72 1 5
scopeOfType()
S
79 1 3
unsubscribe()
S
70 1 6
scopeArchived()
S
79 1 3
template()
S
78 1 3
getSubscribeIdsByListCount()
S
74 1 4
setSlugAttribute()
S
77 1 3
emails()
S
73 1 5
getParsedText()
S
79 1 3